package simple08.bag;
//防伪装饰
public class CheckedBagDecorator extends BagDecortor {
    public CheckedBagDecorator(Bag bag) {
        super(bag);
    }

    @Override
    public void getBag() {
        super.getBag();
        checked();
    }


    private void checked() {
        System.out.println("=======");
        System.out.println("打上防伪码");
    }
}
